package cn.csc.module.product.controller.admin.seachcontext.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.util.Date;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 商品搜索内容 Excel 导出 Request VO", description = "参数和 SpuSeachContextPageReqVO 是一致的")
@Data
public class SpuSeachContextExportReqVO {

    @ApiModelProperty(value = "用户Id")
    private BigInteger userId;

    @ApiModelProperty(value = "搜索文字")
    private String name;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
